<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Clean Blog Template</title>
        <meta name="keywords" content="clean blog template, html css layout" />
        <meta name="description" content="Clean Blog Template is provided by templatemo.com" />
        <?php
        echo $this->headLink()->appendStylesheet('/static/frontend/templatemo_style.css')
                ->appendStylesheet('/static/frontend/s3slider.css');
        ?>
        <!-- JavaScripts-->
        <?php
        echo $this->headScript()->appendFile('/static/frontend/js/jquery.js')
                ->appendFile('/static/frontend/js/jquery-1.7.2.min.js')
                ->appendFile('/static/frontend/js/jquery.validate.min.js')
                ->appendFile('/static/frontend/js/localization/messages_vi.js')
                ->appendFile('/static/frontend/js/s3Slider.js');
        ?>
        <script type="text/javascript">
            $(document).ready(function() {
                $('#slider').s3Slider({
                    timeOut: 1600
                });
            });
        </script>

    </head>
    <body>

        <div id="templatemo_wrapper">

            <div id="templatemo_menu">

                <ul>
                    <li><a href="<?php echo $this->ServerUrl . $this->url(array('module' => 'frontend', 'controller' => 'post', 'action' => 'index')) ?>" class="button" class="current">Home</a></li>                  
                    <?php if ($this->username == null): ?>
                        <li><a href="<?php echo $this->ServerUrl . $this->url(array('module' => 'frontend', 'controller' => 'user', 'action' => 'login')) ?>">Login</a></li>
                    <?php endif ?>
                    <?php if ($this->username != null): ?>
                        <li><a href="<?php echo $this->ServerUrl . $this->url(array('module' => 'backend', 'controller' => 'post', 'action' => 'index')) ?>">Admin page</a></li>      
                        <li><a href="<?php echo $this->ServerUrl . $this->url(array('module' => 'frontend', 'controller' => 'user', 'action' => 'logout')) ?>"><?php echo $this->username . ' Logout' ?></a></li>
                    <?php endif ?>
                </ul>	

            </div> <!-- end of templatemo_menu -->

            <div id="templatemo_left_column">

                <div id="templatemo_header">

                    <div id="site_title">
                        <h1><a href="<?php echo $this->ServerUrl . $this->url(array('module'=>'frontend','controller' => 'post', 'action' => 'index')) ?>" target="_parent">My <strong>Blog</strong><span>This is a simple blog</span></a></h1>
                    </div><!-- end of site_title -->

                </div> <!-- end of header -->  
            </div> <!-- end of templatemo_left_column -->

            <div id="templatemo_right_column">

                <div id="featured_project">
                    <div id="slider">
                        <ul id="sliderContent">
                            <li class="sliderImage">
                                <a href=""><img src="/static/frontend/images/slider/1.jpg" alt="1" /></a>
                                <span class="top"><strong>Project 1</strong><br />Suspendisse turpis arcu, dignissim ac laoreet a, condimentum in massa.</span>
                            </li>
                            <li class="sliderImage">
                                <a href=""><img src="/static/frontend/images/slider/2.jpg" alt="2" /></a>
                                <span class="bottom"><strong>Project 2</strong><br />uisque eget elit quis augue pharetra feugiat.</span>
                            </li>
                            <li class="sliderImage">
                                <img src="/static/frontend/images/slider/3.jpg" alt="3" />
                                <span class="left"><strong>Project 3</strong><br />Sed et quam vitae ipsum vulputate varius vitae semper nunc.</span>
                            </li>
                            <li class="sliderImage">
                                <img src="/static/frontend/images/slider/4.jpg" alt="4" />
                                <span class="right"><strong>Project 4</strong><br />Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span>
                            </li>
                            <li class="clear sliderImage"></li>
                        </ul>
                    </div>
                </div>

                <div id="templatemo_main">

                    <?php echo $this->layout()->content; ?>
                </div>

                <div class="cleaner"></div>
            </div> 
            <!-- end of templatemo_main -->
            <div class="cleaner_h20"></div>

            <div id="templatemo_footer">

                Copyright © 2048 <a href="#">Your Company Name</a> | 
                <a href="http://www.iwebsitetemplate.com" target="_parent">Website Templates</a> by <a href="http://www.templatemo.com" target="_parent">Free CSS Templates</a>

            </div>

            <div class="cleaner"></div>
        </div> <!-- end of warpper -->

        <div align=center>This template  downloaded form <a href='http://all-free-download.com/free-website-templates/'>free website templates</a></div></body>
</html>
<script>
$("form").validate();
</script>